<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title><?php echo $_GET["type"]==1?'发表':'修改' ?>博文成功</title>
		<style>
			.container{
				width: 500px;
				padding: 20px;
				position: fixed;
				top: 30%;
				left: 38%;
				background: #ffffff;
			}
			.header{
				width: 100%;
				height: 50px;
				text-align: center;
				display: flex;
				justify-content: center;
				align-items: center;
			}
			.header p{
				font-size: 25px;
				margin-left: 10px;
			}
			.header img{
				width: 50px;
				height: 50px;
			}
			.btn-group{
				width: 100%;
				height: 80px;
				display: flex;
				justify-content: center;
				align-items: center;
			}
			.btn{
				text-decoration: none;
				border: 1px solid #C92027;    
				cursor: pointer;outline: none;
				margin-right: 20px;
				padding: 0;
				width: 96px;
				height: 40px;
				line-height: 40px;
				border-radius: 4px;
				font-size: 16px;
				text-align: center;
				color: #dc3545;
				transition: unset;
			}
			.btn:hover{
				color: #fff;
				background: #C92027;
			}
		</style>
	</head>
	<body style="background: #eaeaea;">
		<div class="container">
			<div class="header">
				<img src="./images/success.png" />
				<p><?php echo $_GET["type"]==1?'发表':'修改' ?>博客成功</p>
			</div>
			<div class="btn-group">
					<a class="btn" href="./publishBlog.php">写新文章</a>
					<a class="btn" href=<?php echo '/blog_system/admin/index.php/Blog/getBlog/id/'.$_GET['id'] ?> >查看文章</a>
					<a class="btn" href='/blog_system/admin/index.php/Blog/getBlogAll'>管理博文</a>
			</div>
		</div>
	</body>
</html>